package com.cloud.wms.ui.sort.contract;


import com.cloud.core.base.BasePresenter;
import com.cloud.core.base.BaseView;
import com.cloud.wms.ui.main.entity.CommodityEntity;
import com.cloud.wms.ui.main.entity.TaskEntity;

/**
 * @Author:Chen
 * @Date: 2021-01-14 15:49
 * @Description:
 */
public interface OrderSortContract {
    interface View extends BaseView {
    }

    interface Presenter extends BasePresenter<View> {
        void loadBatchList(String batchCode, int page);

        void receiveTask(long billId, String taskCode);

        void acceptNextTask(long billId, String taskCode);

        void checkBindContainer(long billId);

        void bindContainer(long billId, String containerCode);

        void loadSortCommodity(long billId, long orderId);

        void loadSortDetail(long billId, long orderId, boolean state);

        void submitSort(TaskEntity taskEntity, CommodityEntity commodityEntity, String containerId, int amount);
    }
}
